package com.itdaan.portal.business.service;

import java.util.List;

import com.itdaan.portal.business.domain.Comment;
import com.itdaan.portal.business.domain.Page;
import com.itdaan.portal.common.exception.ServiceException;
/**
 * @author www.itdaan.com
 */
public interface CommentService {

	//插入评论
	public void insertComment(Comment comment) throws ServiceException;
	
	//查询内容的评论列表
	public List<Comment> findCommentByPost(Comment comment) throws ServiceException;
	
	//通过id查询评论信息
	public void updateComment(Comment comment) throws ServiceException;
	
	//分页查询评论信息
	public Page findByPage(Page page) throws ServiceException;
}
